Scroll to navigation

HASHKIT_FUNCTIONS(3) libmemcached-awesome HASHKIT_FUNCTIONS(3)

NAME

hashkit_functions - libhashkit Documentation

SYNOPSIS

#include <libhashkit-1.0/hashkit.h>
Compile and link with -lhashkit












DESCRIPTION

These functions generate hash values from a key using a variety of algorithms. These functions can be used standalone, or will be used according to the algorithm set with hashkit_set_function() or hashkit_set_distribution_function().

The hashkit_hsieh(), hashkit_murmur() and hashkit_murmur3() functions are only available if the library is built with the appropriate flag enabled.

RETURN VALUE

A 32-bit hash value.

SEE ALSO

libhashkit(3) hashkit_create(3) hashkit_function(3)

November 12, 2021 1.1